home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / OrderedItems.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  2KB  |  86 lines

  1. /*
  2.      File:        OrderedItems.h
  3.  
  4.      Contains:    xxx put contents here xxx
  5.  
  6.      Version:    Technology:    System 8.0
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __ORDEREDITEMS__
  19. #define __ORDEREDITEMS__
  20.  
  21. #ifndef __TYPES__
  22. #include <Types.h>
  23. #endif
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28.  
  29. #if PRAGMA_IMPORT_SUPPORTED
  30. #pragma import on
  31. #endif
  32.  
  33. #if PRAGMA_ALIGN_SUPPORTED
  34. #pragma options align=mac68k
  35. #endif
  36.  
  37. #if FOR_SYSTEM8_PREEMPTIVE
  38. typedef OSType OrderedItemService;
  39. typedef OSType OrderedItemSignature;
  40.  
  41. enum {
  42.     kMatchAnyOrderedItemService    = '****',
  43.     kMatchAnyOrderedItemSignature = '****',
  44.     kDoNotMatchAnyOrderedItemService = '----',
  45.     kDoNotMatchAnyOrderedItemSignature = '----'
  46. };
  47.  
  48. struct OrderedItemName {
  49.     OrderedItemService                 service;
  50.     OrderedItemSignature             signature;
  51. };
  52. typedef struct OrderedItemName OrderedItemName;
  53.  
  54. typedef OrderedItemName *OrderedItemNamePtr;
  55. typedef OptionBits OrderedItemOptions;
  56.  
  57. enum {
  58.     kOrderedItemIsRightBefore    = 0x00000001,
  59.     kOrderedItemIsRightAfter    = 0x00000002
  60. };
  61.  
  62. struct OrderRequirements {
  63.     OrderedItemOptions                 options;
  64.     OrderedItemName                 itemBefore;
  65.     OrderedItemName                 itemAfter;
  66. };
  67. typedef struct OrderRequirements OrderRequirements;
  68.  
  69. typedef OrderRequirements *OrderRequirementsPtr;
  70. #endif
  71.  
  72. #if PRAGMA_ALIGN_SUPPORTED
  73. #pragma options align=reset
  74. #endif
  75.  
  76. #if PRAGMA_IMPORT_SUPPORTED
  77. #pragma import off
  78. #endif
  79.  
  80. #ifdef __cplusplus
  81. }
  82. #endif
  83.  
  84. #endif /* __ORDEREDITEMS__ */
  85.  
  86.